﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTO;
using DAO;

namespace BUS
{
    public class KhachHangBUS
    {
        KhachHangDAO  cls = new KhachHangDAO ();
        //Load dữ liệu
        public DataTable LoadKhachHang()
        {
            return cls.Load_KhachHang();
        }
        //isert va update
        public void IsUp_KhachHang(KhachHangDTO p, bool flag)
        {
            cls.IsUp_KhachHang(p, flag);
        }
        //del 
        public void Del_KhachHang(KhachHangDTO p)
        {
            cls.Del_KhachHang(p);
        }
        public DataTable TimKH(KhachHangDTO  p, bool flag)
        {
            return cls.TimKH(p, flag);
        }
    }
}
